package com.nuc.zyt.day04.demo;

/**
 * @ClassName MovieTickets
 * @Description TODO
 * @Author 耀酱
 * @Date 2023/5/29 20:10
 * @Version 1.0
 */

public class MovieTickets {
    public static void main(String[] args) {

        Tickets tickets = new Tickets();
        Thread thread1 = new Thread(tickets, "窗口1");
        Thread thread2 = new Thread(tickets, "窗口2");
        Thread thread3 = new Thread(tickets, "窗口3");

        thread1.start();
        thread2.start();
        thread3.start();


    }
}
